package com.yuan.yblog.portal.pojo.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@Schema(description = "文章周榜实体")
public class PostRankVO implements Serializable {

    @Schema(description = "文章id")
    private Long postId;

    @Schema(description = "文章标题")
    private String title;

    @Schema(description = "阅读数")
    private Long viewCount;

    @Schema(description = "评论数")
    private Long commentCount;

    @Schema(description = "点赞数")
    private Long voteUp;

    @Schema(description = "文章创建时间")
    private Date postCreated;

    @Schema(description = "排名权重")
    private Long weight;
}
